package com.platform.usercenter.config;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;


/**
 * 配置文件中的常量参数
 */
@Getter
@Setter
@Component
@ConfigurationProperties(prefix = "constant")
public class ConfigConstants {
        /**
         * 默认iconUrl路径
         */
        private String iconUrl;

        private String imUlr;

        private String client_id;

        private String client_secret;

        private String grant_type;

        private Long ttl;

        private  boolean  imSwitch;
}
